package com.teyao.teyao_back.controller;


import com.teyao.teyao_back.entity.ResponseMessage;

import com.teyao.teyao_back.service.LoadingFullService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@CrossOrigin
@RequestMapping("/loading")
public class LoadingFullController {
    @Autowired
    private LoadingFullService loadingFullService;

    @GetMapping("/selectByOrderId")
    public ResponseMessage selectByOrderId(String orderId) {
        return loadingFullService.selectByOrderId(orderId);
    }
}
